Skip to content

Add a new user to a group and grant associated permissions

Request

Requires groups::modify permissions

Security
JWTAuthorizer
Path
uidstringrequired

ID of the group to add a member to

Bodyapplication/jsonrequired

The group member object to be added

groupstring
userstring
curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/group/{uid}/members' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "group": "string",
    "user": "string"
  }'

Responses

Member successfully added to the group